Simpler\Http\Controllers\ProductController S

Total Complexity 30
Dependencies 8
Dependents 1
Total lines 249
Lines of code 151
Logical lines of code 79
Comment lines 44
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
handle()
A
43 8 53
get_product_objects()
A
51 8 29
attribute_options()
S
54 4 23
products_to_response()
S
57 3 15
attributes()
S
60 3 13
__construct()
S
76 1 4
add_extra_data_to_variation()
S
66 1 8
attribute_key()
S
79 1 3
get_permission_callback()
S
81 1 3